package com.dhcc.bpm.modules.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName IssueApi
 * @Description api发布表实体类
 * @Author daina
 * @Date 2020/2/25 15:22
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@TableName("opc_issue_api")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "IssueApi对象", description = "api发布表")
public class IssueApi extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 业务ID
	*/
		@ApiModelProperty(value = "业务ID")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long id;
	/**
	* apiID
	*/
		@ApiModelProperty(value = "apiID")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long apiId;
	/**
	* 审批状态
	*/
		@ApiModelProperty(value = "审批状态")
		private Integer approvalStatus;
	/**
	* 备用字段1
	*/
		@ApiModelProperty(value = "备用字段1")
		private String spare1;
	/**
	* 备用字段2
	*/
		@ApiModelProperty(value = "备用字段2")
		private String spare2;
	/**
	* 备用字段3
	*/
		@ApiModelProperty(value = "备用字段3")
		private String spare3;


}
